package com.woniuxy.sales.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @TableName products_orders
 */
@TableName(value ="products_orders")
@Data
public class ProductsOrders implements Serializable {
    @TableId
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;  //车辆订单id

    private Integer productId;  //车辆id

    private Integer userId;  //下单人id

    private String name;  //下单人的姓名

    private String telephone;  //下单人的电话

    private BigDecimal price;   //购车意向金

    private Integer status;  //订单状态 1未支付 2已完成 3已过期

    private String address;  //下单人的现居住地(也可能未填)

    private Integer deleted;  //是否删除

    private Date createdTime;  //下单时间

    private static final long serialVersionUID = 1L;
}